package com.system.manager.modules.projectLibrary.service;

import com.system.manager.common.entity.Result;
import com.system.manager.modules.authorized.entity.Subject;
import com.system.manager.modules.projectLibrary.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.system.manager.modules.projectLibrary.entity.Project;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jisf
 * @since 2021-11-03
 */
public interface IDepartmentService extends IService<Department> {

    List<Department> selectAllDepartment(Subject subject);

    Result selectDepartmentByType(Integer page, Integer size, Subject subject);

    void insertDepartment(Subject subject, Department department);

    void deleteDepartment(Integer id);

}
